#!/bin/bash
# @file: 
#	restart.sh
# @desc:
#	This is a templation
# @Author:
#	codergege
# @Last Update:
#	2016-11-25 
# @usage:
#	 ./restart_sogou.sh

# path
home=/home/codergege
pwdDir=$pwd

pidof fcitx | xargs kill
pidof sogou-qimpanel | xargs kill
nohup fcitx  1>/dev/null 2>/dev/null &
nohup sogou-qimpanel  1>/dev/null 2>/dev/null &

cd /usr/bin
sudo ln -sf /home/codergege/script/restart_sogou.sh restart_sogou.sh
cd $pwdDir
